package com.jyz.test;


import com.jyz.mapper.AccountMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

@ContextConfiguration({"classpath:spring.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class T {
    @Resource
    AccountMapper accountMapper;
    @Test
    public void asd(){
        accountMapper.selectAll();
    }
}